
#ifndef __crcmodel_H
#define __crcmodel_H
#include "Pub_typedef.h"
#define CRCMASK 0xFFFF

BYTE ucCrcCalc(BYTE *p, WORD16 len, BYTE r);
WORD16 uiCrcCalc(BYTE *p, WORD16 len, WORD16 r);
WORD32 ulSumCalc(BYTE *p, WORD16 len, WORD32 r);
void srand(unsigned int seed);
int rand(void);

#endif